package com.gdzn.netty.service;


import io.netty.channel.ChannelHandlerContext;

/**
 * @description: 处理设备信息
 * @author:
 * @created: 2024-04-18
 * @version: V1.0
 */
public interface IDeviceService {

    void sendDataToSave(Integer msgType, Object msg);

    void updateCabinetOnline(String devId, String online);

    void removeChannel(ChannelHandlerContext ctx);

    void setChannelIdAndDevIdRedis(String devId, String channelId);

    void removeChannelIdAndDevIdRedis(String devId, String channelId);
}
